import 'package:flutter/cupertino.dart';

class ZInkButton extends StatelessWidget {
  const ZInkButton({
    super.key,
    required this.child,
    this.onPressed,
  });
  final Widget child;
  final VoidCallback? onPressed;

  @override
  Widget build(BuildContext context) {
    return CupertinoButton(
      onPressed: onPressed,
      minSize: 0,
      padding: EdgeInsets.zero,
      child: child,
    );
  }
}
